[gd_scene load_steps=7 format=3 uid="uid://qjkdw5sw6ysf"]

[ext_resource type="Script" path="res://Scripts/damage_box.gd" id="1_i53r2"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7ofmw"]
albedo_color = Color(1, 0, 0, 1)

[sub_resource type="BoxMesh" id="BoxMesh_mb05t"]
material = SubResource("StandardMaterial3D_7ofmw")

[sub_resource type="BoxShape3D" id="BoxShape3D_cyuak"]

[sub_resource type="BoxShape3D" id="BoxShape3D_0l8mj"]

[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_teyph"]
properties/0/path = NodePath(".:position")
properties/0/spawn = true
properties/0/replication_mode = 1

[node name="DamageBox" type="RigidBody3D"]
gravity_scale = 0.06

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("BoxMesh_mb05t")

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_cyuak")

[node name="Area3D" type="Area3D" parent="."]
script = ExtResource("1_i53r2")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
shape = SubResource("BoxShape3D_0l8mj")

[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
replication_config = SubResource("SceneReplicationConfig_teyph")

[connection signal="body_entered" from="Area3D" to="Area3D" method="_on_body_entered"]
